package com.xdcplus.web.common.pojo.dto.sys;

import com.xdcplus.pager.dto.PageDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * 部门(SysDepartment)表查询入参DTO类
 * 
 * @author bullion.yan
 * @since 2024-06-18 14:00:40
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "")
@SuppressWarnings("serial")
public class SysDepartmentFilterDTO extends PageDTO implements Serializable {
    private static final long serialVersionUID = 724596007313508280L;

    @ApiModelProperty("主键")
    private Long id;

    @ApiModelProperty("部门编号")
    private String code;

    @ApiModelProperty("部门名称")
    private String name;

    @ApiModelProperty("所属公司ID")
    private Long companyId;

    @ApiModelProperty("上级部门ID")
    private Long parentId;

    @ApiModelProperty("部门负责人")
    private Long managerId;

    @ApiModelProperty("描述")
    private String description;

    @ApiModelProperty("是否已经逻辑删除（0：未删除 1：已删除）")
    private Long deleted;

    @ApiModelProperty("创建人")
    private String createdUser;

    @ApiModelProperty("创建时间")
    private Timestamp createdTime;

    @ApiModelProperty("更新人")
    private String updatedUser;

    @ApiModelProperty("更新时间")
    private Timestamp updatedTime;

    @ApiModelProperty("部门类型")
    private String departmentType;

}
